package Text_29;

import java.util.Scanner;

public class Code {

	public static void main(String[] args) {
		//摄氏度转换
		Scanner sc = new Scanner(System.in);
		System.out.println("请输入两位数的非浮点数的小数：");
		double Celsius = sc.nextDouble();
		double[] arr = new double[2];
		double[] d = convertTemperature(arr,Celsius);
		System.out.print("[");
		System.out.print(arr[0]+",");
		System.out.print(arr[1]);
		System.out.print("]");
	}
	public static double[] convertTemperature(double arr[],double celsius) {
        double Kelvin = 0.0;
		double Fahrenheit = 0.0;
		arr[0] = celsius + 273.15;
		arr[1] = celsius *1.80+32.00;
        return arr;

	}

}
